package com.alibaba.demo.domain.core.exception;

/**
 * @author Administrator
 * @date 2024/4/30 11:12
 * @description
 */
public enum ServiceExceptionEnum {
    ALL_NORMAL("0","SUCCESS"),
    SYSTEM_ERROR("A0001","系统错误"),
    PARAMETER_VERIFICATION_FAILED("B1001","参数校验失败[msg]"),
    SERVICE_NOT_FOUND("C2001","服务不存在"),
    B_CUSTOMER_companyNameConflict("C2002", "客户公司名冲突");
    ;
    private String code;
    private String message;

    ServiceExceptionEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
